package com.gk.panda.apis.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gk.panda.apis.entity.TransectManager.dto.TransectFileDto;
import com.gk.panda.apis.entity.TransectManager.entity.TransectEntity;
import com.gk.panda.apis.entity.TransectManager.vo.TransectFileVo;
import com.gk.panda.pojo.TransectManager;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TransectManagerMapper extends BaseMapper<TransectManager> {

    int insertTransectFile(TransectEntity transectEntity);

    TransectFileVo getTransectFileInfo(Integer id);

    List<TransectFileVo> getTransectFileList(TransectFileDto transectFileDto);

    int removeTransectById(Integer id);

    Integer getCountByOrgId(@Param("orgIds") List<Integer> orgIds);

    String getLastSnByOrgId(Integer fkOrgId, String abbr);
}